Skip to content

Conversation

@sidux
Copy link

@sidux sidux commented Dec 29, 2023

Fixes #1842

@coveralls
Copy link

Coverage Status

coverage: 94.169% (-0.05%) from 94.214%
when pulling 85ee147 on sidux:main
into 0ae9ba8 on spec-first:main.

@RobbeSneyders
Copy link
Member

Thanks @sidux!

Could you add a test?

@RobbeSneyders
Copy link
Member

Ping @sidux

@sidux
Copy link
Author

sidux commented Jan 16, 2024

@RobbeSneyders I'll take some time during this week to finish this

@RobbeSneyders
Copy link
Member

Do you have time to add a test @sidux?

@sidux
Copy link
Author

sidux commented Nov 4, 2025

@RobbeSneyders @chrisinmtown this PR is ready (sorry for the big delay)

"""
This method converts a handler response to a framework response.
The handler response can be a ConnexionResponse, a framework response, a tuple or an
object.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might expand the comment here to add "or a coroutine".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems really useful, adding tests for the response decorators, which apparently were completely missing. I look forward to seeing the new code-coverage statistic when this runs at Github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Async generator returns an error and generator inconsistencies

4 participants